import { defineStore } from "pinia"

export const useUserInfo = defineStore("useUserInfo", {
    state: () => ({
        token: "",
    }),
    actions: {
        getToken(payload: string) {
            this.token = payload
        },
    },
    persist: true
})